package com.hgd.action;

import com.hgd.client.task.SnmpRun;
import com.hgd.client.task.TaskImplDelegate;
import com.hgd.client.task.TaskImplService;
import com.opensymphony.xwork2.ActionSupport;

public class SNMPAction extends ActionSupport{
	
	TaskImplService service = new TaskImplService();
	TaskImplDelegate delegate = service.getTaskImplPort();
	
	public String SNMPRun() throws Exception{
		delegate.snmpRun();
		return SUCCESS;
	}
	public static void main(String[] args) throws Exception {
		SNMPAction action = new SNMPAction();
		action.SNMPRun();
	}
}
